#include"select_server.hpp"

int main(int argc, char* argv[])
{
    if(argc!=2)
    {
        std::cout<<"illegal usage, please input: "<<argv[0]<<" server_port"<<std::endl;
    }
    uint16_t server_port = std::stoi(argv[1]);
    std::unique_ptr<SelectServer> ss = std::make_unique<SelectServer>(server_port);
    ss->InitServer();
    ss->Loop();
}